<?php

namespace App\Modules\Apicrzs\Services\Auth;

use App\Exceptions\Exception;
use EasyWeChat\Kernel\Exceptions\HttpException;
use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
use Illuminate\Support\Arr;
class WeChatService
{
    /**
     * 静默登录，获取微信用户openid，后续与用户表绑定，并生成token。
     * @param $code
     * @return array|void
     * @throws Exception
     */
    public static function getWeXinToken($code)
    {

    }
}
